package day014.set;

import java.util.HashSet;

public class HashSetDemo1 {
    public static void main(String[] args) {
        HashSet<String> set = new HashSet<>();

        set.add("html");
        set.add("javascript");
        set.add("java");
        set.add("mysql");

        if (set.contains("html")) {
            set.remove("html");
        }

        for (String s : set) {
            System.out.println(s);
        }
    }
}
